﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PowerControl
{
    public class Position
    {
        private double x;
        private double y;
        private double z;
        private double theta;   //Pitch
        private double phi;     //Yaw

        public Position()
        {
            this.x = 0;
            this.y = 0;
            this.z = 0;
            this.phi = 0;
            this.theta = 0;
        }

        public double X
        {
            get
            {
                return x;
            }
            set
            {
                this.x = value;
            }
        }

        public double Y
        {
            get
            {
                return this.y;
            }
            set
            {
                this.y = value;
            }
        }

        public double Z
        {
            get
            {
                return this.z;
            }
            set
            {
                this.z = value;
            }
        }

        public double Pitch
        {
            get
            {
                return this.theta;
            }
            set
            {
                this.theta = value;
            }
        }

        public double Yaw
        {
            get
            {
                return this.phi;
            }
            set
            {
                this.phi = value;
            }
        }
    }
}
